/***************************************************************************
 *   Copyright (C) 2008 by Goliash   *
 *   goliash@goliash.net   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef AUDIO_H
#define AUDIO_H

#include <QString>
#include <QStringList>

class Audio
{
public:
	Audio();
	~Audio() {}

	static QString channelsToString(int channels);

	int getLength();
	void setLength(int length);

	QString getVersion();
	void setVersion(QString version);

	QString getLayer();
	void setLayer(QString layer);

	int getBitrate();
	void setBitrate(int bitrate);

	int getFreq();
	void setFreq(int freq);
	
	int getChannel();
	void setChannel(int channel);

	QString getTag_title();
	void setTag_title(QString tag_title);

	QString getTag_artist();
	void setTag_artist(QString tag_artist);

	QString getTag_composer();
	void setTag_composer(QString tag_composer);

	QString getTag_orig_artist();
	void setTag_orig_artist(QString tag_orig_artist);

	QString getTag_album();
	void setTag_album(QString tag_album);

	QString getTag_genre();
	void setTag_genre(QString tag_genre);

	QString getTag_year();
	void setTag_year(QString tag_year);

	QString getTag_track();
	void setTag_track(QString tag_track);

	QString getTag_comment();
	void setTag_comment(QString tag_comment);

	QString getTag_encoder();
	void setTag_encoder(QString tag_encoder);

private:
	int length;
	QString version;
	QString layer;
	int bitrate;
	int freq;
	int channel;
	
	QString tag_title;
	QString tag_artist;
	QString tag_composer;
	QString tag_orig_artist;
	QString tag_album;
	QString tag_genre;
	QString tag_year;
	QString tag_track;
	QString tag_comment;
	QString tag_encoder;
};

#endif
